package com.holiday.spring.service.impl;

import com.holiday.spring.service.VideoService;
import com.holiday.springboot2.domain.Video;
import org.springframework.stereotype.Service;

@Service("videoService")
public class VideoServiceImpl implements VideoService {
    @Override
    public int save(Video video) {
        System.out.println(" 保存 video");
        return 0;
    }

    @Override
    public Video findById(int id) {
        System.out.println(" 根据ID找 video");
        return new Video();
    }
}
